Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to get and set DWN Service Endpoints from the IdentityAPI #953

Merged
merged 6 commits into from
Oct 17, 2024

Conversation

LiranCohen
Copy link
Member

@LiranCohen LiranCohen commented Oct 16, 2024

This PR adds the ability to set new DWN Service Endpoints

  • add setDwnEndpoints method to IdentityApi
  • add getDwnEndpoints helper to IdenttyApi
  • ensure a deep copy of the DID is returned with bearerDid.export() to avoid side-effects

Copy link

changeset-bot bot commented Oct 16, 2024

🦋 Changeset detected

Latest commit: 8b03387

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@web5/agent Patch
@web5/dids Patch
@web5/identity-agent Patch
@web5/proxy-agent Patch
@web5/user-agent Patch
@web5/api Patch
@web5/credentials Patch
@web5/browser Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Oct 16, 2024

TBDocs Report

✅ No errors or warnings

@web5/api

  • Project entry file: packages/api/src/index.ts

@web5/crypto

  • Project entry file: packages/crypto/src/index.ts

@web5/crypto-aws-kms

  • Project entry file: packages/crypto-aws-kms/src/index.ts

@web5/dids

  • Project entry file: packages/dids/src/index.ts

@web5/credentials

  • Project entry file: packages/credentials/src/index.ts

TBDocs Report Updated at 2024-10-16T21:30:52Z 8b03387

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.35%. Comparing base (bd1cb00) to head (8b03387).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #953      +/-   ##
==========================================
+ Coverage   93.34%   93.35%   +0.01%     
==========================================
  Files         118      118              
  Lines       33660    33714      +54     
  Branches     2728     2736       +8     
==========================================
+ Hits        31419    31473      +54     
  Misses       2200     2200              
  Partials       41       41              
Components Coverage Δ
agent 87.80% <100.00%> (+0.05%) ⬆️
api 99.61% <ø> (ø)
common 95.02% <ø> (ø)
credentials 94.95% <ø> (ø)
crypto 93.79% <ø> (ø)
dids 97.77% <100.00%> (ø)
identity-agent 96.42% <ø> (ø)
crypto-aws-kms 100.00% <ø> (ø)
proxy-agent 96.42% <ø> (ø)
user-agent 96.57% <ø> (ø)

@LiranCohen LiranCohen marked this pull request as ready for review October 16, 2024 21:30
@LiranCohen LiranCohen merged commit 3f39bf1 into main Oct 17, 2024
35 checks passed
@LiranCohen LiranCohen deleted the lirancohen/update-identity-endpoints branch October 17, 2024 12:32
@github-actions github-actions bot mentioned this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants